package C8_1_TemplateMethod.before;

import C8_1_TemplateMethod.Loan;

/**
 * @author xufy
 * @version 1.0
 **/
public class CapitalStrategyRevolver extends CapitalStrategy {

    @Override
    public double capital(Loan loan) {
        return (aa() * c() * d()) + (bb() * c() * e());
    }

    public double aa() {
        return 0;
    }

    public double bb() {
        return 0;
    }

    public double c() {
        return 0;
    }

    public double d() {
        return 0;
    }

    public double e() {
        return 0;
    }
}